﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace WLYT.Domain.Model
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("OrderItem")]
    public partial class OrderItem
    {
           public OrderItem(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public int Id {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int OrderId {get;set;}

           /// <summary>
           /// Desc:关联订单号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string DocNum {get;set;}

           /// <summary>
           /// Desc:单据类型
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string DocType {get;set;}

           /// <summary>
           /// Desc:仓库编码（设备编码）
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string WareCode {get;set;}

           /// <summary>
           /// Desc:行项目id
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string BoundMaterialId {get;set;}

           /// <summary>
           /// Desc:物料编码（厂内料号）
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string ItemCode {get;set;}

           /// <summary>
           /// Desc:制造商编码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string MaderCode {get;set;}

           /// <summary>
           /// Desc:制造商名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string MaderName {get;set;}

           /// <summary>
           /// Desc:最小包装数量
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int ItemMinPack {get;set;}

           /// <summary>
           /// Desc:物料描述
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ItemName {get;set;}

           /// <summary>
           /// Desc:单位
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string UnitCode {get;set;}

           /// <summary>
           /// Desc:原厂料号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string OriginalCode {get;set;}

           /// <summary>
           /// Desc:品牌
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Brand {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string SMLevel {get;set;}

           /// <summary>
           /// Desc:计划数量
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int PlanQty {get;set;}

           /// <summary>
           /// Desc:实际数量
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int ActualQty {get;set;}

           /// <summary>
           /// Desc:拣货数量
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int PickQty {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:DateTime.Now
           /// Nullable:False
           /// </summary>           
           public DateTime CreateTime {get;set;}

           /// <summary>
           /// Desc:操作人员
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string Operator {get;set;}

           /// <summary>
           /// Desc:状态
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Status {get;set;}

           /// <summary>
           /// Desc:是否手动完成
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public bool IsManualComplete {get;set;}

    }
}
